package cn.elves.model.activity.service;

import cn.elves.model.activity.entity.po.Activity;
import cn.elves.model.activity.entity.po.UserTakeActivity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
* @author pc
* @description 针对表【user_take_activity】的数据库操作Service
* @createDate 2024-06-17 00:09:05
*/
public interface UserTakeActivityService extends IService<UserTakeActivity> {

    UserTakeActivity selectUnusedBillForUser(Long userId, Long activityId);

    Boolean joinActivity(Long userId, Activity activity, Map<String, Object> matter);
}
